var main = function () {
    require(["jquery", "text!modules/time/index.html", "css!modules/time/index.css"], function (
        $,
        html,
        css
    ) {
        $("#root").append(html);
        $(".time .text").text(new Date().toLocaleString());
        setInterval(() => {
            $(".time .text").text(new Date().toLocaleString());
        }, 500);
    });
};
require(["../scripts/require.config"], main);
